package com.dss.auto_deploy.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* @Description:虚拟机服务器修改【入参】
* @author dongshoushan
* @date 2022-09-06 15:29:28
*/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "虚拟机服务器")
public class ServerUpdateDto {

    /**
    * 主键
    */
    @ApiModelProperty(value = "主键",example = "")
    private Long id;

    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名")
    private String username;
    /**
    * 服务器名称
    */
    @ApiModelProperty(value = "服务器名称",example = "")
    private String name;

    /**
    * ip地址
    */
    @ApiModelProperty(value = "ip地址",example = "")
    private String ip;

    /**
    * 端口
    */
    @ApiModelProperty(value = "端口",example = "")
    private Integer port;

    /**
    * 密码
    */
    @ApiModelProperty(value = "密码",example = "")
    private String password;
    /**
     * 父级id，默认-1
     */
    @ApiModelProperty(value = "父级id，默认-1")
    private Long parentId;

    /**
    * 总内存大小,单位G
    */
    @ApiModelProperty(value = "总内存大小,单位G",example = "")
    private String memoryTotal;

    /**
    * 剩余内存大小,单位G
    */
    @ApiModelProperty(value = "剩余内存大小,单位G",example = "")
    private String memoryFree;

    /**
    * cpu利用率
    */
    @ApiModelProperty(value = "cpu利用率",example = "")
    private String cpu;

    /**
    * 排序
    */
    @ApiModelProperty(value = "排序",example = "")
    private Integer sort;
    /**
     *  0文件夹 1服务器
     */
    private Integer type;
    private String vpn;

}
